package pw.caffe.action.app;

import java.util.List;

import pw.caffe.common.IAction;
import pw.caffe.common.net.NEXRequest;
import pw.caffe.common.net.NEXResponse;

public class UserLoginAction extends IAction {

	public void perform(NEXRequest request, final List<NEXResponse> responseList) {
		request.setToRead();
		
		//String accountName = request.readString(request.readShort());
		//String accountPassword = request.readString(request.readShort());

		byte returnCode = -1;
		long accountId = -1;

		NEXResponse response = new NEXResponse(0xfa05, returnCode, accountId);
		response.setToSend();
		responseList.add(response);
	}

}
